#app {
    width: 100%;
    height: 100%;
}

#nav {
    height: 40px;
    line-height: 40px;
    color: crimson;
    display: flex;
    justify-content: flex-end;
    background-color: rgba(	135,206,250, 0.4);
    padding-right: 50px;
}
#nav img {
    /*height: 40px;*/
    width: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

#nav a {
    margin-left: 15px;
    text-decoration: none;
}

#container {
    width: 100%;
    height: calc(100% - 40px);
    display: flex;
    justify-content: center;
    align-items: center;
}

#channel-list {
    display: flex;
    flex-direction: column;
    width: 120px;
    height: 450px;
    background-color: rgb(0,2,79);
    border-radius: 2px;
    overflow-y:auto;
}

.channel-row-unchecked,
.channel-row-checked
{
    height: 50px;
    display: flex;
    align-items: center;
}
.channel-row-checked {
    background-color: rgba(128, 128, 128, 0.6);
}
.channel-row-unchecked:hover {
    background-color: rgba(255, 255, 255, 0.6);
}

.channel-item {
    width: 100px;
    line-height: 50px;
    padding: 0 10px;
    color: white;
}
.unread {
    width: 15px;
    height: 15px;
    line-height: 15px;
    font-size: 12px;
    text-align: center;
    color: white;
    background-color: red;
    border-radius: 50%;
}

#dialog {
    width: 480px;
    height: 450px;
    background-color: white;
}

#dialog-history {
    width: 100%;
    height: 240px;
    overflow-y: auto;
    padding: 10px;
}
.dialog-row {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}
.dialog-date {
    width: 100%;
    text-align: center;
    margin: 20px 0 5px;
    color: silver;
}
.dialog-user {
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    background-color: crimson;
    border-radius: 50%;
    font-size: 14px;
    color: white;
}
.dialog-current-content,
.dialog-other-content
{
    font-size: 14px;
    line-height: 40px;
    padding: 0 10px;
    border-radius: 5px;
    margin-left: 10px;
    max-width: calc(100% - 50px);
}
.dialog-current-content {
    background-color: rgb(18,183,245);
    color: white;
}
.dialog-other-content {
    background-color: rgb(229,229,229);
}

#dialog-content {
    width: 100%;
    height: 160px;
    border: none;
    border-top: 1px solid silver;
    outline: none;
    resize: none;
    overflow-y:auto;
    padding: 15px 10px;
    font-size: 16px;
    line-height: 24px;
    font-family: '微软雅黑';
}
#dialog-send {
    height: 50px;
    display: flex;
    justify-content: flex-end;
}
#dialog button,
#dialog button:hover
{
    width: 100px;
    height: 40px;
    border-radius: 2px;
    border: none;
    background-color: rgb(25, 25, 112);
    color: white;
    margin-right: 5px;
}
#dialog button:hover {
    background-color: rgba(25, 25, 112, 0.7);
}